﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="V2Test._Default" %>

<%@ Register assembly="Cwing.UI.Validation" namespace="Cwing.UI.Controls" tagprefix="cwvf" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
        <cwvf:ValidationTextBox ID="ValidationTextBox1" runat="server" 
            ValidationSummary="ErrorList1" Path="//Control[@ID='Number']" 
            ValidationType="Client" GroupName="d"></cwvf:ValidationTextBox>
        <cwvf:ErrorList ID="ErrorList1" runat="server" UseForMandatory="true">
        </cwvf:ErrorList>
    
    </div>
    
    <asp:Button ID="Button1" runat="server" Text="Button" OnClientClick="javascript:return CW.Validate('d');" />
    <cwvf:ValidationTextBox ID="ValidationTextBox2" runat="server" 
        ValidationSummary="ErrorList1" GroupName="d" 
        Path="//Control[@ID='Number']" ValidationType="Client"></cwvf:ValidationTextBox>
    </form>
</body>
</html>
